from enum import Enum
from dataclasses import dataclass
from dataclasses_json import dataclass_json
from typing import Union

CM_TO_POINTS = 28.35


@dataclass_json
@dataclass
class PictureInfo:
    pass


@dataclass_json
@dataclass
class ChartInfo:
    pass


@dataclass_json
@dataclass
class UnknownInlineShape:
    pass


class ShapeTypes(str, Enum):
    picture = "PICTURE"
    chart = "CHART"
    unknown = "UNKNOWN"


@dataclass_json
@dataclass
class InlineShapeInfo:
    type: ShapeTypes
    width: int = -1
    height: int = -1
